xen init script: silently exit status 0 if not running under xen
authorIan Jackson <ian.jackson@citrix.com>
Thu, 7 Feb 2019 15:54:49 +0000 (15:54 +0000)
committerIan Jackson <ian.jackson@citrix.com>
Fri, 22 Feb 2019 14:00:16 +0000 (14:00 +0000)
commit194dd19af2f4ebe29b135c3f839dfcb3b6acba2e
tree3994bbae7cc02eea68c51d141d3089b693338831
parentbde6c5740ea7c896dc0cfd2495bdc8ba143cef54
xen init script: silently exit status 0 if not running under xen

This script should not complain at all if we are not running under
Xen.  Check this right at the start.

This will enable improvements to the following code, which will no
longer have to deal with the `not running under Xen' case.

Signed-off-by: Ian Jackson <ian.jackson@citrix.com>
Acked-by: Hans van Kranenburg <hans@knorrie.org>
debian/xen-utils-common.xen.init